import request from '@/utils/request'


export const bannerArticleList = function(params){
  return request({
    url: '/banner_article/list',
    method: 'get',
    params: params,
  })
}

export const bannerArticleAdd = function(params){
  return request({
    url: '/banner_article/add',
    method: 'post',
    data: params,
  })
}
export const bannerArticleEditGet = function(params){
  return request({
    url: '/banner_article/edit',
    method: 'get',
    params: params,
  })
}

export const bannerArticleEditPost = function(params){
  return request({
    url: '/banner_article/edit',
    method: 'post',
    data: params,
  })
}
export const bannerArticleDel = function(params){
  return request({
    url: '/banner_article/del',
    method: 'post',
    data: params,
  })
}